﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Autofac;
using Autofac.Core;
using Cnm.Servicers.Cacher;
using Cnm.Servicers.Localization;

namespace Cnm.Mvc.Web.Infrastructure
{
    public class AutofacConfiguration
    {
        public static void Register()
        {
            // Create your builder.
            var builder = new ContainerBuilder();

            // Usually you're only interested in exposing the type
            // via its interface:
            builder.RegisterType<LanguageService>().As<ILanguageService>();
            //builder.RegisterType<Cacher>().As<ICacher>();
            
        }
    }
}